//
//  LANBCrashReportController.m
//  LanBKit_Example
//
//  Created by v on 2020/12/14.
//  Copyright © 2020 v. All rights reserved.
//

#import "LANBCrashReportController.h"
#import <LanBCrashReport.h>

@interface LANBCrashReportController ()

@end

@implementation LANBCrashReportController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    [LanBCrashReport.shared lanb_installWithEmailReporter:@"lobo_ios_crash@163.com" relayHost:@"smtp.163.com" password:@"KIUZKYFHJYOPKYOK"];
    
}

- (IBAction)onClickCrash:(id)sender {
    
//    SEL method = NSSelectorFromString(@"number");
//    [self performSelector:method withObject:nil afterDelay:1.5];
    
    NSArray *a = @[@1, @2];
    [a objectAtIndex:2];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
